package com.jinpin.oauth.mapper;

import com.jinpin.oauth.entity.Role;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
* @author JP0020
* @description 针对表【sys_role(角色表)】的数据库操作Mapper
* @createDate 2023-02-15 09:18:30
* @Entity com.jinpin.oauth.entity.Role
*/
public interface RoleMapper extends BaseMapper<Role> {

    Role getRoleByUid(Integer userId);
}




